
<div class="special_page ">
    <!-- head -->
    <?php include dirname(dirname(dirname(__FILE__))) . '/layouts/lib/topbar.php'; ?>
    <div class="special_head">
        <div class="container">
            <div class="col-md-12">
                <div class="head_left">
                    <img alt="logo" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/special/head_logo.png">
                    <img class="logo_arrow" alt="" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/special/logo_arrow.png">
                </div>
                <div class="head_right">
                    <ul>
                        <li><a class="head_r_img_1 white" href="<?php echo $this->createUrl('/front/bm/lookup') ?>"><div class="img_1 head_r_img" ></div>报名查询</a>	</li>

                        <li><a class="return pull-right" href="/">返回首页</a></li>
                    </ul>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>

    </div>
    <!-- banner -->
    <div class="container">
        <div class="special_banner col-md-12">
            <div class="banner_top">
<!--                <a target="_blank" title="手机app下载" href="<?php //echo $this->createUrl('/front/download/app'); ?>">-->
                    <img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/special/seller_center.jpg">
                </a>
            </div>
            <div class="sidebar bg_white">
                <div class="sidebar_title bolder">
                    <div class="radius pink"></div>
                    <span>卖家早知道</span>
                </div>
                <div class="sidebar_content">
                    <ul>
                        <?php foreach ($models as $key => $rs): ?>
                            <?php if ($rs->id == 14 || $rs->id == 13): ?>
                                <li class="sidebar_row">
                                    <div class="cat bolder">活动</div>
                                    <div><a target="_blank" href="<?php echo $rs->url ?>" title="<?php echo $rs->name ?>活动"><?php echo $rs->name ?>活动开始报名啦</a></div>
                                </li>                               
                            <?php endif; ?>
                        <?php endforeach; ?>


                        <li class="sidebar_row">
                            <div class="cat bolder">违规</div>
                            <div><a target="_blank" href="<?php echo $this->createUrl('/front/blacklist/index') ?>" title="商家违规">商家违规公告栏</a></div>
                        </li>
                        <li class="sidebar_row">
                            <div class="cat bolder">规则</div>
                            <div><a target="_blank" href="<?php echo $this->createUrl('/front/article/show', array('id' => 13)) ?>" title="商家规则">商家规则上线</a></div>
<!--                        </li>
                        <li class="sidebar_row">   </li>-->
                    </ul>
                </div>
                <div class="sidebar_footer">
                    <div>
                        <a target="_blank" class="footer_frist" rel="nofollow" href="http://weibo.com/1zwcom ">官方微博</a> | 
                    </div>
                    <div class="sell_qun">
                        <a class="footer_middle" rel="nofollow" href="javascript:void(0);">卖家QQ群</a>
                        <i class="arrow "></i>
                    </div>
                    <div class="footer_bbs">
                        | <a target="_blank" class="footer_end"  href="http://bbs.1zw.com">论坛</a>
                        <img alt="" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/special/new_sell.gif">
                    </div>
                    <div class="sell_qq_qun" style="display:none">
                        <ul> <?php for($i=0;$i<=count($dataqq);$i+=2){  ?>                            
                            <li><span class="pull-left <?php if($dataqq[$i]['disabled'] ==1){ echo 'black';}  ?>"><?php  echo $dataqq[$i]['name_number']; ?></span>		
                                <span class="pull-right <?php if($dataqq[$i+1]['disabled'] ==1){ echo 'black';}  ?>"><?php  echo $dataqq[$i+1]['name_number']; ?></span></li>                          
                        <?php  } ?>
                        </ul>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
            <div class="clearfix"></div>
        </div>

        <!-- title -->
        <!--
        <div class="special_title container">
                <a href="/jifen.html" title="积分兑换" target="_blank"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/special/content_logo.png"></a>
        </div>
        -->
        <!-- content -->
        <div class="special_content">
            <div class="col-md-12 title_img">
                <img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/special/direction.png">
            </div>
            <div class="zhuanti_body">

                <?php foreach ($models as $key => $rs): ?>

                    <div class="content_zhuanti bg_white">
                        <div class="zhuanti_title bolder"><i></i><?php echo $rs->name ?></div>
                        <div class="zhuanti_img">
                            <?php 
                                if(stripos($rs->img,'http://') !== false){
                                    $img = $rs->img;
                                }else{
                                    $img = Yii::app()->theme->baseUrl . $rs->img;
                                }
                             ?>
                            <img alt="<?php echo $rs->name; ?>" src="<?php echo $img; ?>">
                        </div>
                        <div class="zhuanti_text">
                            <?php echo $rs->remark; ?>
                        </div>

                        <?php
                        if (!$rs->url) {
                            $rs->url = $this->createUrl('/user/bm/bm', array('special_id' => $rs->id));
                        }
                        ?>
                        <div class="pull-right bmhd_btn" data-url="/front/good/redeemskip/gid/1.html"><a target="_blank" href="<?php echo $rs->url ?>" style="color:white">报名活动</a></div>

                        <!--<div class="pull-right bmhd_time">活动时间:9月28日-9月29日</div>-->


                    </div>

                <?php endforeach; ?>


                <div class="clearfix"></div>

            </div>

        </div>

    </div>
</div>

<script type="text/javascript">
    $('.sell_qun,.sell_qq_qun').mouseover(function() {
        $('.sell_qun').addClass('bg_white');
        $('.sell_qq_qun').show();
    });
    $('.sell_qun,.sell_qq_qun').mouseout(function() {
        $('.sell_qun').removeClass('bg_white');
        $('.sell_qq_qun').hide();
    });
</script>


<?php include dirname(dirname(dirname(__FILE__))) . '/layouts/lib/footer.php'; ?>
